package com.demo.spring_demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo {
    private int id;
    private String username;
    private String info;
    private String city;
    private String phone;
    private String avatar;
    private String birthday;

    public UserInfo(String username, String info,String phone, String city, String birthday) {
        this.username = username;
        this.info = info;
        this.city = city;
        this.phone = phone;
        this.birthday = birthday;
    }
}
